Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[net8.0] Update dependencies from xamarin/xamarin-android #15504

Merged
merged 23 commits into from
Jun 28, 2023

Conversation

dotnet-maestro[bot]
Copy link
Contributor

@dotnet-maestro dotnet-maestro bot commented Jun 7, 2023

This pull request updates the following dependencies

Coherency Updates

The following updates ensure that dependencies with a CoherentParentDependency
attribute were produced in a build used as input to the parent dependency's build.
See Dependency Description Format

  • Coherency Updates:
    • Microsoft.Dotnet.Sdk.Internal: from 8.0.100-preview.6.23276.3 to 8.0.100-preview.6.23318.1 (parent: Microsoft.Android.Sdk.Windows)
    • Microsoft.NETCore.App.Ref: from 8.0.0-preview.6.23279.6 to 8.0.0-preview.6.23316.3 (parent: Microsoft.Android.Sdk.Windows)
    • Microsoft.NET.Workload.Emscripten.Current.Manifest-8.0.100.Transport: from 8.0.0-preview.5.23265.1 to 8.0.0-preview.6.23312.1 (parent: Microsoft.NETCore.App.Ref)

From https://github.com/xamarin/xamarin-android

  • Subscription: 085b8bd9-e630-441d-931c-08db157be54d
  • Build: main-e08a44dd291f0c9daac12f29d6a4c8ecdeaa04bb-1
  • Date Produced: June 22, 2023 2:28:39 AM UTC
  • Commit: e08a44dd291f0c9daac12f29d6a4c8ecdeaa04bb
  • Branch: refs/heads/main

…uild main-093eaac8cf651d63144a0cd55077dffe78113162-1

Microsoft.Android.Sdk.Windows
 From Version 34.0.0-preview.6.323 -> To Version 34.0.0-preview.6.331

Dependency coherency updates

Microsoft.Dotnet.Sdk.Internal,Microsoft.NETCore.App.Ref,Microsoft.NET.Workload.Emscripten.Current.Manifest-8.0.100.Transport
 From Version 8.0.100-preview.6.23276.3 -> To Version 8.0.100-preview.6.23305.2 (parent: Microsoft.Android.Sdk.Windows
@ghost ghost added the area-infrastructure CI, Maestro / Coherency, upstream dependencies/versions label Jun 7, 2023
dotnet-maestro bot added 5 commits June 8, 2023 13:25
…uild main-1cfee369fa2f1545fd20fe949a434386c2a04d1c-1

Microsoft.Android.Sdk.Windows
 From Version 34.0.0-preview.6.323 -> To Version 34.0.0-preview.6.332

Dependency coherency updates

Microsoft.Dotnet.Sdk.Internal,Microsoft.NETCore.App.Ref,Microsoft.NET.Workload.Emscripten.Current.Manifest-8.0.100.Transport
 From Version 8.0.100-preview.6.23276.3 -> To Version 8.0.100-preview.6.23305.2 (parent: Microsoft.Android.Sdk.Windows
…uild main-e97ad2f94479b8f28aae6ee7c6dbd3c5df6928ec-1

Microsoft.Android.Sdk.Windows
 From Version 34.0.0-preview.6.323 -> To Version 34.0.0-preview.6.333

Dependency coherency updates

Microsoft.Dotnet.Sdk.Internal,Microsoft.NETCore.App.Ref,Microsoft.NET.Workload.Emscripten.Current.Manifest-8.0.100.Transport
 From Version 8.0.100-preview.6.23276.3 -> To Version 8.0.100-preview.6.23305.2 (parent: Microsoft.Android.Sdk.Windows
…uild main-34818813eb4b934c7bdf27b7026fad82ce7d0508-1

Microsoft.Android.Sdk.Windows
 From Version 34.0.0-preview.6.323 -> To Version 34.0.0-preview.6.334

Dependency coherency updates

Microsoft.Dotnet.Sdk.Internal,Microsoft.NETCore.App.Ref,Microsoft.NET.Workload.Emscripten.Current.Manifest-8.0.100.Transport
 From Version 8.0.100-preview.6.23276.3 -> To Version 8.0.100-preview.6.23305.2 (parent: Microsoft.Android.Sdk.Windows
…uild main-0698891fd72559912feccd3032987665caa7a5fe-1

Microsoft.Android.Sdk.Windows
 From Version 34.0.0-preview.6.323 -> To Version 34.0.0-preview.6.335

Dependency coherency updates

Microsoft.Dotnet.Sdk.Internal,Microsoft.NETCore.App.Ref,Microsoft.NET.Workload.Emscripten.Current.Manifest-8.0.100.Transport
 From Version 8.0.100-preview.6.23276.3 -> To Version 8.0.100-preview.6.23305.2 (parent: Microsoft.Android.Sdk.Windows
…uild main-622abe1f028e1beb56713d84c28aaff3640e734d-1

Microsoft.Android.Sdk.Windows
 From Version 34.0.0-preview.6.323 -> To Version 34.0.0-preview.6.342

Dependency coherency updates

Microsoft.Dotnet.Sdk.Internal,Microsoft.NETCore.App.Ref,Microsoft.NET.Workload.Emscripten.Current.Manifest-8.0.100.Transport
 From Version 8.0.100-preview.6.23276.3 -> To Version 8.0.100-preview.6.23310.1 (parent: Microsoft.Android.Sdk.Windows
@rmarinho
Copy link
Member

@jonathanpeppers can you take a look?

MSBUILD : error MSB4166: Child node "9" exited prematurely. Shutting down. Diagnostic information may be found in files in "/var/folders/pz/7hvgqkl90xv_x35qcd32ctt40000gn/T/MSBuildTempbuilder/" and will be named MSBuild_*.failure.txt. This location can be changed by setting the MSBUILDDEBUGPATH environment variable to a different directory.
MSBUILD : error MSB4166: /var/folders/pz/7hvgqkl90xv_x35qcd32ctt40000gn/T/MSBuildTempbuilder/MSBuild_pid-71923_b387f020ebfd428a891154a2cc5ce719.failure.txt:
MSBUILD : error MSB4166: UNHANDLED EXCEPTIONS FROM PROCESS 71923:
MSBUILD : error MSB4166: =====================
MSBUILD : error MSB4166: 6/13/2023 11:26:03 AM
MSBUILD : error MSB4166: System.NotSupportedException: BinaryFormatter serialization and deserialization are disabled within this application. See https://aka.ms/binaryformatter for more information.
MSBUILD : error MSB4166:    at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Serialize(Stream serializationStream, Object graph)
MSBUILD : error MSB4166:    at Microsoft.Build.Execution.BuildResult.Microsoft.Build.BackEnd.ITranslatable.Translate(ITranslator translator)
MSBUILD : error MSB4166:    at Microsoft.Build.BackEnd.NodeEndpointOutOfProcBase.RunReadLoop(Stream localReadPipe, Stream localWritePipe, ConcurrentQueue`1 localPacketQueue, AutoResetEvent localPacketAvailable, AutoResetEvent localTerminatePacketPump)
MSBUILD : error MSB4166: ===================
MSBUILD : error MSB4166: 
MSBUILD : error MSB4166: 
/Users/builder/azdo/_work/3/s/bin/dotnet/packs/Microsoft.Android.Sdk.Darwin/34.0.0-preview.6.342/tools/Xamarin.Android.Aapt2.targets(156,3): error XAA2L7000: Microsoft.Build.Exceptions.BuildAbortedException: MSB4188: Build was canceled. [/Users/builder/azdo/_work/3/s/src/Controls/Foldable/src/Controls.Foldable.csproj::TargetFramework=net8.0-android]
/Users/builder/azdo/_work/3/s/bin/dotnet/packs/Microsoft.Android.Sdk.Darwin/34.0.0-preview.6.342/tools/Xamarin.Android.Aapt2.targets(156,3): error XAA2L7000:    at Microsoft.Build.BackEnd.RequestBuilder.Reacquire() [/Users/builder/azdo/_work/3/s/src/Controls/Foldable/src/Controls.Foldable.csproj::TargetFramework=net8.0-android]
/Users/builder/azdo/_work/3/s/bin/dotnet/packs/Microsoft.Android.Sdk.Darwin/34.0.0-preview.6.342/tools/Xamarin.Android.Aapt2.targets(156,3): error XAA2L7000:    at Microsoft.Build.BackEnd.TaskHost.Reacquire() [/Users/builder/azdo/_work/3/s/src/Controls/Foldable/src/Controls.Foldable.csproj::TargetFramework=net8.0-android]
/Users/builder/azdo/_work/3/s/bin/dotnet/packs/Microsoft.Android.Sdk.Darwin/34.0.0-preview.6.342/tools/Xamarin.Android.Aapt2.targets(156,3): error XAA2L7000:    at Xamarin.Build.AsyncTask.Reacquire() in D:\a\1\s\Xamarin.Build.AsyncTask\AsyncTask.cs:line 270 [/Users/builder/azdo/_work/3/s/src/Controls/Foldable/src/Controls.Foldable.csproj::TargetFramework=net8.0-android]
/Users/builder/azdo/_work/3/s/bin/dotnet/packs/Microsoft.Android.Sdk.Darwin/34.0.0-preview.6.342/tools/Xamarin.Android.Aapt2.targets(156,3): error XAA2L7000:    at Microsoft.Android.Build.Tasks.AndroidAsyncTask.RunTask() in /Users/runner/work/1/s/xamarin-android/external/xamarin-android-tools/src/Microsoft.Android.Build.BaseTasks/AndroidAsyncTask.cs:line 39 [/Users/builder/azdo/_work/3/s/src/Controls/Foldable/src/Controls.Foldable.csproj::TargetFramework=net8.0-android]
/Users/builder/azdo/_work/3/s/bin/dotnet/packs/Microsoft.Android.Sdk.Darwin/34.0.0-preview.6.342/tools/Xamarin.Android.Aapt2.targets(156,3): error XAA2L7000:    at Microsoft.Android.Build.Tasks.AndroidAsyncTask.Execute() in /Users/runner/work/1/s/xamarin-android/external/xamarin-android-tools/src/Microsoft.Android.Build.BaseTasks/AndroidAsyncTask.cs:line 16 [/Users/builder/azdo/_work/3/s/src/Controls/Foldable/src/Controls.Foldable.csproj::TargetFramework=net8.0-android]
/Users/builder/azdo/_work/3/s/bin/dotnet/packs/Microsoft.Android.Sdk.Darwin/34.0.0-preview.6.342/tools/Xamarin.Android.Aapt2.targets(156,3): error XAA2L7000: Microsoft.Build.Exceptions.BuildAbortedException: MSB4188: Build was canceled. [/Users/builder/azdo/_work/3/s/src/BlazorWebView/src/Maui/Microsoft.AspNetCore.Components.WebView.Maui.csproj::TargetFramework=net8.0-android]
/Users/builder/azdo/_work/3/s/bin/dotnet/packs/Microsoft.Android.Sdk.Darwin/34.0.0-preview.6.342/tools/Xamarin.Android.Aapt2.targets(156,3): error XAA2L7000:    at Microsoft.Build.BackEnd.RequestBuilder.Reacquire() [/Users/builder/azdo/_work/3/s/src/BlazorWebView/src/Maui/Microsoft.AspNetCore.Components.WebView.Maui.csproj::TargetFramework=net8.0-android]
/Users/builder/azdo/_work/3/s/bin/dotnet/packs/Microsoft.Android.Sdk.Darwin/34.0.0-preview.6.342/tools/Xamarin.Android.Aapt2.targets(156,3): error XAA2L7000:    at Microsoft.Build.BackEnd.TaskHost.Reacquire() [/Users/builder/azdo/_work/3/s/src/BlazorWebView/src/Maui/Microsoft.AspNetCore.Components.WebView.Maui.csproj::TargetFramework=net8.0-android]
/Users/builder/azdo/_work/3/s/bin/dotnet/packs/Microsoft.Android.Sdk.Darwin/34.0.0-preview.6.342/tools/Xamarin.Android.Aapt2.targets(156,3): error XAA2L7000:    at Xamarin.Build.AsyncTask.Reacquire() in D:\a\1\s\Xamarin.Build.AsyncTask\AsyncTask.cs:line 270 [/Users/builder/azdo/_work/3/s/src/BlazorWebView/src/Maui/Microsoft.AspNetCore.Components.WebView.Maui.csproj::TargetFramework=net8.0-android]
/Users/builder/azdo/_work/3/s/bin/dotnet/packs/Microsoft.Android.Sdk.Darwin/34.0.0-preview.6.342/tools/Xamarin.Android.Aapt2.targets(156,3): error XAA2L7000:    at Microsoft.Android.Build.Tasks.AndroidAsyncTask.RunTask() in /Users/runner/work/1/s/xamarin-android/external/xamarin-android-tools/src/Microsoft.Android.Build.BaseTasks/AndroidAsyncTask.cs:line 39 [/Users/builder/azdo/_work/3/s/src/BlazorWebView/src/Maui/Microsoft.AspNetCore.Components.WebView.Maui.csproj::TargetFramework=net8.0-android]
/Users/builder/azdo/_work/3/s/bin/dotnet/packs/Microsoft.Android.Sdk.Darwin/34.0.0-preview.6.342/tools/Xamarin.Android.Aapt2.targets(156,3): error XAA2L7000:    at Microsoft.Android.Build.Tasks.AndroidAsyncTask.Execute() in /Users/runner/work/1/s/xamarin-android/external/xamarin-android-tools/src/Microsoft.Android.Build.BaseTasks/AndroidAsyncTask.cs:line 16 [/Users/builder/azdo/_work/3/s/src/BlazorWebView/src/Maui/Microsoft.AspNetCore.Components.WebView.Maui.csproj::TargetFramework=net8.0-android]

https://devdiv.visualstudio.com/DevDiv/_build/results?buildId=7910174&view=logs&j=e072960b-e485-5052-d791-becc2f186c46&t=d41ee834-66cb-5011-9232-3ed805ebe4e7](https://devdiv.visualstudio.com/DevDiv/_build/results?buildId=7910174&view=results)

@jonathanpeppers
Copy link
Member

This is MSBuild failing:

MSBUILD : error MSB4166: System.NotSupportedException: BinaryFormatter serialization and deserialization are disabled within this application. See https://aka.ms/binaryformatter for more information.
MSBUILD : error MSB4166:    at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Serialize(Stream serializationStream, Object graph)
MSBUILD : error MSB4166:    at Microsoft.Build.Execution.BuildResult.Microsoft.Build.BackEnd.ITranslatable.Translate(ITranslator translator)
MSBUILD : error MSB4166:    at Microsoft.Build.BackEnd.NodeEndpointOutOfProcBase.RunReadLoop(Stream localReadPipe, Stream localWritePipe, ConcurrentQueue`1 localPacketQueue, AutoResetEvent localPacketAvailable, AutoResetEvent localTerminatePacketPump)

dotnet-maestro bot added 2 commits June 14, 2023 12:48
…uild main-fd19c4602b78c7030d3bb0af4cc7e4258563edaf-1

Microsoft.Android.Sdk.Windows
 From Version 34.0.0-preview.6.323 -> To Version 34.0.0-preview.6.343

Dependency coherency updates

Microsoft.Dotnet.Sdk.Internal,Microsoft.NETCore.App.Ref,Microsoft.NET.Workload.Emscripten.Current.Manifest-8.0.100.Transport
 From Version 8.0.100-preview.6.23276.3 -> To Version 8.0.100-preview.6.23310.1 (parent: Microsoft.Android.Sdk.Windows
…uild main-3ab842f7fdc4c77b35a55cb2d7d4b085c38e713c-1

Microsoft.Android.Sdk.Windows
 From Version 34.0.0-preview.6.323 -> To Version 34.0.0-preview.6.345

Dependency coherency updates

Microsoft.Dotnet.Sdk.Internal,Microsoft.NETCore.App.Ref,Microsoft.NET.Workload.Emscripten.Current.Manifest-8.0.100.Transport
 From Version 8.0.100-preview.6.23276.3 -> To Version 8.0.100-preview.6.23310.1 (parent: Microsoft.Android.Sdk.Windows
@lewing
Copy link
Member

lewing commented Jun 15, 2023

cc @GrabYourPitchforks

@lewing
Copy link
Member

lewing commented Jun 16, 2023

dotnet/sdk#33227

dotnet-maestro bot added 2 commits June 16, 2023 12:55
…uild main-df64039db55d751c1c945490f0b83886c53a5c29-1

Microsoft.Android.Sdk.Windows
 From Version 34.0.0-preview.6.323 -> To Version 34.0.0-preview.6.346

Dependency coherency updates

Microsoft.Dotnet.Sdk.Internal,Microsoft.NETCore.App.Ref,Microsoft.NET.Workload.Emscripten.Current.Manifest-8.0.100.Transport
 From Version 8.0.100-preview.6.23276.3 -> To Version 8.0.100-preview.6.23310.1 (parent: Microsoft.Android.Sdk.Windows
…uild main-0e72f32e2f766ff47f23cac6721b6bb0274a8ffc-1

Microsoft.Android.Sdk.Windows
 From Version 34.0.0-preview.6.323 -> To Version 34.0.0-preview.6.349

Dependency coherency updates

Microsoft.Dotnet.Sdk.Internal,Microsoft.NETCore.App.Ref,Microsoft.NET.Workload.Emscripten.Current.Manifest-8.0.100.Transport
 From Version 8.0.100-preview.6.23276.3 -> To Version 8.0.100-preview.6.23318.1 (parent: Microsoft.Android.Sdk.Windows
@rmarinho
Copy link
Member

@jonathanpeppers I think this is still failing with the issues above, but I also saw this one

D:\a\_work\1\s\bin\dotnet\packs\Microsoft.Android.Sdk.Windows\34.0.0-preview.6.349\tools\Xamarin.Android.Common.targets(1458,3): error XA8000: Could not find Android Resource '@styleable/SKCanvasView'. Please update @(AndroidResource) to add the missing resource. [D:\a\_work\1\s\src\Graphics\samples\GraphicsTester.Android\GraphicsTester.Android.csproj]
D:\a\_work\1\s\bin\dotnet\packs\Microsoft.Android.Sdk.Windows\34.0.0-preview.6.349\tools\Xamarin.Android.Common.targets(1458,3): error XA8000: Could not find Android Resource '@styleable/SKCanvasView_ignorePixelScaling'. Please update @(AndroidResource) to add the missing resource. [D:\a\_work\1\s\src\Graphics\samples\GraphicsTester.Android\GraphicsTester.Android.csproj]
    295 Warning(s)
    2 Error(s)

…uild main-66a0389e925b1394dbc9449401ecd1100cb6e13c-1

Microsoft.Android.Sdk.Windows
 From Version 34.0.0-preview.6.323 -> To Version 34.0.0-preview.6.351

Dependency coherency updates

Microsoft.Dotnet.Sdk.Internal,Microsoft.NETCore.App.Ref,Microsoft.NET.Workload.Emscripten.Current.Manifest-8.0.100.Transport
 From Version 8.0.100-preview.6.23276.3 -> To Version 8.0.100-preview.6.23318.1 (parent: Microsoft.Android.Sdk.Windows
@jonathanpeppers
Copy link
Member

jonathanpeppers commented Jun 21, 2023

@rmarinho yes you will need to bump SkiaSharp if we were able to ship a new one. We turned this from a runtime error into a build time error.

This file was missing from the package: mono/SkiaSharp@99c2437

/cc @mattleibow @dellis1972

@rmarinho rmarinho self-assigned this Jun 21, 2023
Copy link
Member

@jonathanpeppers jonathanpeppers left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are there some other dependencies of SkiaSharp to upgrade?

/Users/builder/azdo/_work/2/s/src/SingleProject/Resizetizer/src/Resizetizer.csproj : error NU1605: Warning As Error: Detected package downgrade: HarfBuzzSharp from 2.8.2.4-preview.76 to 2.8.2.2. Reference the package directly from the project to select a different version.  [/Users/builder/azdo/_work/2/s/Microsoft.Maui.BuildTasks.slnf]
/Users/builder/azdo/_work/2/s/src/SingleProject/Resizetizer/src/Resizetizer.csproj : error NU1605:  Microsoft.Maui.Resizetizer -> SkiaSharp.HarfBuzz 2.88.4-preview.76 -> HarfBuzzSharp (>= 2.8.2.4-preview.76)  [/Users/builder/azdo/_work/2/s/Microsoft.Maui.BuildTasks.slnf]
/Users/builder/azdo/_work/2/s/src/SingleProject/Resizetizer/src/Resizetizer.csproj : error NU1605:  Microsoft.Maui.Resizetizer -> HarfBuzzSharp (>= 2.8.2.2) [/Users/builder/azdo/_work/2/s/Microsoft.Maui.BuildTasks.slnf]
    0 Warning(s)
    1 Error(s)

rmarinho and others added 6 commits June 22, 2023 11:27
…uild main-e08a44dd291f0c9daac12f29d6a4c8ecdeaa04bb-1

Microsoft.Android.Sdk.Windows
 From Version 34.0.0-preview.6.323 -> To Version 34.0.0-preview.6.353

Dependency coherency updates

Microsoft.Dotnet.Sdk.Internal,Microsoft.NETCore.App.Ref,Microsoft.NET.Workload.Emscripten.Current.Manifest-8.0.100.Transport
 From Version 8.0.100-preview.6.23276.3 -> To Version 8.0.100-preview.6.23318.1 (parent: Microsoft.Android.Sdk.Windows
@dalexsoto
Copy link
Member

@rmarinho can you check if this makes any difference?

@rmarinho rmarinho merged commit eaf8059 into net8.0 Jun 28, 2023
@rmarinho rmarinho deleted the darc-net8.0-5f871d29-752b-4fba-a40a-71c9740dfb3d branch June 28, 2023 10:01
@github-actions github-actions bot locked and limited conversation to collaborators Dec 9, 2023
@samhouts samhouts added the fixed-in-8.0.0-preview.6.8686 Look for this fix in 8.0.0-preview.6.8686! label Aug 2, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-infrastructure CI, Maestro / Coherency, upstream dependencies/versions fixed-in-8.0.0-preview.6.8686 Look for this fix in 8.0.0-preview.6.8686! platform/android 🤖
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants